#include "Head.h"

//main.c
extern int Solver_id, file_number;
extern MPI_Errhandler errhdl;
extern int myrank, sum_rank;
extern double starttime, endtime, duration;

// step 1
extern int rows_average, nrows;
extern int ilower, iupper, jlower, jupper;
extern HYPRE_IJMatrix A;
extern HYPRE_IJVector b, x;

// step 2
extern int *length_cols, *num_cols;
extern int k, m1, m2;
extern int *ncols, *rows, *cols;
extern int num;
extern double *A_value, *b_value;


//Read_Data.c
extern int Data_length, Matrix_size;
extern int c;
extern char filename[100];
extern FILE *p;
extern int *Data_I, *Data_J;
extern double *Data_A_Value, *Data_b_Value;
extern int i;

// Result.c
extern double *gather_x;
extern int    *counts;
extern int    *disp;
extern FILE   *PlotFile;
